#ifndef GLSTUDY_VERTEXBUFFER_H
#define GLSTUDY_VERTEXBUFFER_H
#include "Render.h"

class VertexBuffer
{
public:
	VertexBuffer(const void* data,unsigned int size,GLenum usage=GL_DYNAMIC_DRAW);
	void bind()const;
	void unbind()const;
	~VertexBuffer();
private:
	unsigned int m_id;
};


#endif //GLSTUDY_VERTEXBUFFER_H
